package cn.sfturing.service;

import cn.sfturing.entity.DoctoWork;
import cn.sfturing.entity.OrderRecords;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface DoctoWorkService {
    //根据医生id和日期查找数据
    List<DoctoWork> selecrByIdAndDate(Integer doctorId, String startDate, String endDate);

    //根据医生id和日期修改信息
    boolean updateByIdAndDate(DoctoWork doctoWork);

    //根据医生id和日期插入信息
    boolean insertSelective(DoctoWork doctoWork);

    //根据医生id和日期查找数据
    DoctoWork selecrByIdAndDateOne(@Param("doctorId") int doctorId, @Param("date")String date);

    //增加预约
    boolean addDoctoWork(Integer id);

}
